//
//  TableViewCell1.m
//  UI_项目 测试1
//
//  Created by dlios on 15-1-16.
//  Copyright (c) 2015年 songCheng. All rights reserved.
//

#import "TableViewCell1.h"

@implementation TableViewCell1
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        [self creatSubviews];
    }
    return self;
}


- (void)creatSubviews
{
    self.imageView1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bg_eventlistcell@2x.png"]];
    
    self.imageView1.frame = CGRectMake(0, 0, 375, 45);
    
    [self.contentView addSubview:self.imageView1];
    
    self.imageView2 = [[UIImageView alloc] init];
        
    self.imageView2.frame = CGRectMake(15, 15, 20, 20);
        
    [self.contentView addSubview:self.imageView2];
    
    self.aLabel1 = [[UILabel alloc] initWithFrame:CGRectMake(60, 15, 100, 20)];
    
    self.aLabel1.textColor = [UIColor brownColor];
    //self.aLabel1.backgroundColor = [UIColor redColor];
    
    [self.contentView addSubview:self.aLabel1];
    
    self.blabel = [[UILabel alloc] initWithFrame:CGRectMake(340, 5, 30, 30)];
    
    self.blabel.text = @">>";
    
    self.blabel.textColor = [UIColor lightGrayColor];
    
    [self.contentView addSubview:self.blabel];
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
